package org.nf.web;

import jakarta.servlet.ServletContext;
import jakarta.servlet.ServletException;

/**
 * @author wangliang
 * @date 2024/4/9
 * web应用程序初始化器
 */
public interface WebApplicationInitializer {

    /**
     * 启动初始化方法
     * @param servletContext servlet上下文
     * @throws ServletException servlet异常
     */
    void onStartup(ServletContext servletContext) throws ServletException;
}
